package com.forum.common.model.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class PostVO {
    private Long id;
    private Long userId;
    private String title;
    private Long categoryId;
    private String categoryName;  // 分类名称
    private String content;
    private String summary;
    private String coverImage;
    private Integer views;
    private Integer likes;
    private Integer comments;
    private Integer status;
    private Boolean isTop;
    private Boolean isHot;
    private Boolean isEssence;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private List<TagVO> tags;  // 帖子关联的标签

    // 作者信息
    private String authorName;
    private String authorAvatar;
} 